﻿using Little.Soldier.SWIFT;
using Little.Soldier.SWIFT.Definition;
using System.Collections.Generic;
using System.ComponentModel;

namespace Little.Soldier.SWIFT.Messages.Category2
{
  public class MT204 : SwiftMessage
  {
    private static SwiftMessageDefinition MessageDefinition;
    private static SwiftTagSequenceDefinition U0002;
    private static SwiftTagDefinition U0003;
    private static SwiftTagSubItemDefinition U0004;
    private static SwiftTagDefinition U0005;
    private static SwiftTagSubItemDefinition U0006;
    private static SwiftTagDefinition U0007;
    private static SwiftTagSubItemDefinition U0008;
    private static SwiftTagChoiceDefinition U000E;
    private static SwiftTagDefinition U000F;
    private static SwiftTagSubItemDefinition U0010;
    private static SwiftTagSubItemDefinition U0011;
    private static SwiftTagDefinition U0012;
    private static SwiftTagSubItemDefinition U0013;
    private static SwiftTagSubItemDefinition U0014;
    private static SwiftTagDefinition U0015;
    private static SwiftTagSubItemDefinition U0016;
    private static SwiftTagSubItemDefinition U0017;
    private static SwiftTagChoiceDefinition U0018;
    private static SwiftTagDefinition U0019;
    private static SwiftTagSubItemDefinition U001A;
    private static SwiftTagSubItemDefinition U001B;
    private static SwiftTagDefinition U001C;
    private static SwiftTagSubItemDefinition U001D;
    private static SwiftTagSubItemDefinition U001E;
    private static SwiftTagDefinition U001F;
    private static SwiftTagSubItemDefinition U007F;
    private static SwiftTagSubItemDefinition U0080;
    private static SwiftTagSubItemDefinition U0081;
    private static SwiftTagSubItemDefinition U0082;
    private static SwiftTagSubItemDefinition U0083;
    private static SwiftTagSubItemDefinition U0084;
    private static SwiftTagSequenceDefinition U0086;
    private static SwiftTagDefinition U0087;
    private static SwiftTagSubItemDefinition U0088;
    private static SwiftTagDefinition U0089;
    private static SwiftTagSubItemDefinition U008A;
    private static SwiftTagDefinition U008B;
    private static SwiftTagSubItemDefinition U008C;
    private static SwiftTagSubItemDefinition U008D;
    private static SwiftTagChoiceDefinition U008E;
    private static SwiftTagDefinition U008F;
    private static SwiftTagSubItemDefinition U0090;
    private static SwiftTagSubItemDefinition U0091;
    private static SwiftTagDefinition U0092;
    private static SwiftTagSubItemDefinition U0093;
    private static SwiftTagSubItemDefinition U0094;
    private static SwiftTagDefinition U0095;
    private static SwiftTagSubItemDefinition U0096;
    private static SwiftTagSubItemDefinition U0097;
    private static SwiftTagDefinition U0098;
    private static SwiftTagSubItemDefinition U0099;
    private static SwiftTagSubItemDefinition U009A;
    private static SwiftTagSubItemDefinition U009B;
    private static SwiftTagSubItemDefinition U009C;
    private static SwiftTagSubItemDefinition U009D;
    private static SwiftTagSubItemDefinition U009E;

    [Description("Common Elements - Reimbursement Details")]
    public MT204.SequenceAClass SequenceA
    {
      get
      {
        return new MT204.SequenceAClass((SwiftElement) this, 0, false);
      }
    }

    [Description("Transaction Details")]
    public MT204.SequenceBClass[] SequenceB
    {
      get
      {
        int index = -1;
        List<MT204.SequenceBClass> list = new List<MT204.SequenceBClass>();
        int count;
        do
        {
          ++index;
          MT204.SequenceBClass sequenceBclass = new MT204.SequenceBClass((SwiftElement) this, index, false);
          count = this.ListTags((SwiftElement) sequenceBclass).Count;
          if (count > 0)
            list.Add(sequenceBclass);
        }
        while (count > 0);
        return list.ToArray();
      }
    }

    public MT204()
      : base(true)
    {
    }

    public MT204(SwiftMessage message)
      : base(message)
    {
    }

    public MT204.SequenceBClass AddSequenceB()
    {
      return new MT204.SequenceBClass((SwiftElement) this, this.SequenceB.Length, true);
    }

    public void RemoveSequenceB(MT204.SequenceBClass sequence)
    {
      foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
        this.RemoveTag(tag);
    }

    internal override SwiftMessageDefinition MsgDefinition()
    {
      return MT204.MessageDefinition;
    }

    protected override void InitSwiftMessageDefinition()
    {
      MT204.MessageDefinition = new SwiftMessageDefinition("MT204", "Financial Markets Direct Debit Message");
      MT204.U0002 = new SwiftTagSequenceDefinition("SequenceA", "Common Elements - Reimbursement Details");
      MT204.U0003 = new SwiftTagDefinition("TransactionReferenceNumber_A_20", "Transaction Reference Number");
      MT204.U0003.TagName = ":20:";
      MT204.U0004 = new SwiftTagSubItemDefinition("Reference", "Reference Number");
      MT204.U0003.Elements.Add((SwiftDefinitionElement) MT204.U0004);
      MT204.U0002.Elements.Add((SwiftDefinitionElement) MT204.U0003);
      MT204.U0005 = new SwiftTagDefinition("SumOfAmounts_A_19", "Sum of Amounts");
      MT204.U0005.TagName = ":19:";
      MT204.U0006 = new SwiftTagSubItemDefinition("Amount", "Amount");
      MT204.U0005.Elements.Add((SwiftDefinitionElement) MT204.U0006);
      MT204.U0002.Elements.Add((SwiftDefinitionElement) MT204.U0005);
      MT204.U0007 = new SwiftTagDefinition("ValueDate_A_30", "Value Date");
      MT204.U0007.TagName = ":30:";
      MT204.U0008 = new SwiftTagSubItemDefinition("Date", "Date");
      MT204.U0007.Elements.Add((SwiftDefinitionElement) MT204.U0008);
      MT204.U0002.Elements.Add((SwiftDefinitionElement) MT204.U0007);
      MT204.U000E = new SwiftTagChoiceDefinition("Choice", "");
      MT204.U000E.Mandatory = false;
      MT204.U000E.Multiple = true;
      MT204.U000F = new SwiftTagDefinition("AccountWithInstitution_A_57A", "Account With Institution");
      MT204.U000F.TagName = ":57A:";
      MT204.U0010 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT204.U0010.Mandatory = false;
      MT204.U000F.Elements.Add((SwiftDefinitionElement) MT204.U0010);
      MT204.U0011 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT204.U000F.Elements.Add((SwiftDefinitionElement) MT204.U0011);
      MT204.U000E.Elements.Add((SwiftDefinitionElement) MT204.U000F);
      MT204.U0012 = new SwiftTagDefinition("AccountWithInstitution_A_57B", "Account With Institution");
      MT204.U0012.TagName = ":57B:";
      MT204.U0013 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT204.U0013.Mandatory = false;
      MT204.U0012.Elements.Add((SwiftDefinitionElement) MT204.U0013);
      MT204.U0014 = new SwiftTagSubItemDefinition("Location", "");
      MT204.U0014.Mandatory = false;
      MT204.U0012.Elements.Add((SwiftDefinitionElement) MT204.U0014);
      MT204.U000E.Elements.Add((SwiftDefinitionElement) MT204.U0012);
      MT204.U0015 = new SwiftTagDefinition("AccountWithInstitution_A_57D", "Account With Institution");
      MT204.U0015.TagName = ":57D:";
      MT204.U0016 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT204.U0016.Mandatory = false;
      MT204.U0015.Elements.Add((SwiftDefinitionElement) MT204.U0016);
      MT204.U0017 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT204.U0015.Elements.Add((SwiftDefinitionElement) MT204.U0017);
      MT204.U000E.Elements.Add((SwiftDefinitionElement) MT204.U0015);
      MT204.U0002.Elements.Add((SwiftDefinitionElement) MT204.U000E);
      MT204.U0018 = new SwiftTagChoiceDefinition("Choice", "");
      MT204.U0018.Mandatory = false;
      MT204.U0018.Multiple = true;
      MT204.U0019 = new SwiftTagDefinition("BeneficiaryInstitution_A_58A", "Beneficiary Institution");
      MT204.U0019.TagName = ":58A:";
      MT204.U001A = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT204.U001A.Mandatory = false;
      MT204.U0019.Elements.Add((SwiftDefinitionElement) MT204.U001A);
      MT204.U001B = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT204.U0019.Elements.Add((SwiftDefinitionElement) MT204.U001B);
      MT204.U0018.Elements.Add((SwiftDefinitionElement) MT204.U0019);
      MT204.U001C = new SwiftTagDefinition("BeneficiaryInstitution_A_58D", "Beneficiary Institution");
      MT204.U001C.TagName = ":58D:";
      MT204.U001D = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT204.U001D.Mandatory = false;
      MT204.U001C.Elements.Add((SwiftDefinitionElement) MT204.U001D);
      MT204.U001E = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT204.U001C.Elements.Add((SwiftDefinitionElement) MT204.U001E);
      MT204.U0018.Elements.Add((SwiftDefinitionElement) MT204.U001C);
      MT204.U0002.Elements.Add((SwiftDefinitionElement) MT204.U0018);
      MT204.U001F = new SwiftTagDefinition("SenderToReceiverInformation_A_72", "Sender To Receiver Information");
      MT204.U001F.TagName = ":72:";
      MT204.U001F.Mandatory = false;
      MT204.U007F = new SwiftTagSubItemDefinition("Line1", "Line with a maximum of 35 SWIFT characters having format as /8c/[25x]");
      MT204.U001F.Elements.Add((SwiftDefinitionElement) MT204.U007F);
      MT204.U0080 = new SwiftTagSubItemDefinition("Line2", "Line with a maximum of 35 SWIFT characters having format as /8c/[25x] or [//33x]");
      MT204.U0080.Mandatory = false;
      MT204.U001F.Elements.Add((SwiftDefinitionElement) MT204.U0080);
      MT204.U0081 = new SwiftTagSubItemDefinition("Line3", "Line with a maximum of 35 SWIFT characters having format as /8c/[25x] or [//33x]");
      MT204.U0081.Mandatory = false;
      MT204.U001F.Elements.Add((SwiftDefinitionElement) MT204.U0081);
      MT204.U0082 = new SwiftTagSubItemDefinition("Line4", "Line with a maximum of 35 SWIFT characters having format as /8c/[25x] or [//33x]");
      MT204.U0082.Mandatory = false;
      MT204.U001F.Elements.Add((SwiftDefinitionElement) MT204.U0082);
      MT204.U0083 = new SwiftTagSubItemDefinition("Line5", "Line with a maximum of 35 SWIFT characters having format as /8c/[25x] or [//33x]");
      MT204.U0083.Mandatory = false;
      MT204.U001F.Elements.Add((SwiftDefinitionElement) MT204.U0083);
      MT204.U0084 = new SwiftTagSubItemDefinition("Line6", "Line with a maximum of 35 SWIFT characters having format as /8c/[25x] or [//33x]");
      MT204.U0084.Mandatory = false;
      MT204.U001F.Elements.Add((SwiftDefinitionElement) MT204.U0084);
      MT204.U0002.Elements.Add((SwiftDefinitionElement) MT204.U001F);
      MT204.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT204.U0002);
      MT204.U0086 = new SwiftTagSequenceDefinition("SequenceB", "Transaction Details");
      MT204.U0086.Multiple = true;
      MT204.U0087 = new SwiftTagDefinition("TransactionReferenceNumber_B_20", "Transaction Reference Number");
      MT204.U0087.TagName = ":20:";
      MT204.U0088 = new SwiftTagSubItemDefinition("Reference", "Reference Number");
      MT204.U0087.Elements.Add((SwiftDefinitionElement) MT204.U0088);
      MT204.U0086.Elements.Add((SwiftDefinitionElement) MT204.U0087);
      MT204.U0089 = new SwiftTagDefinition("RelatedReference_B_21", "Related Reference");
      MT204.U0089.TagName = ":21:";
      MT204.U0089.Mandatory = false;
      MT204.U008A = new SwiftTagSubItemDefinition("Reference", "Reference Number");
      MT204.U0089.Elements.Add((SwiftDefinitionElement) MT204.U008A);
      MT204.U0086.Elements.Add((SwiftDefinitionElement) MT204.U0089);
      MT204.U008B = new SwiftTagDefinition("TransactionAmount_B_32B", "Transaction Amount");
      MT204.U008B.TagName = ":32B:";
      MT204.U008C = new SwiftTagSubItemDefinition("Currency", "Currency Code");
      MT204.U008B.Elements.Add((SwiftDefinitionElement) MT204.U008C);
      MT204.U008D = new SwiftTagSubItemDefinition("Amount", "Amount");
      MT204.U008B.Elements.Add((SwiftDefinitionElement) MT204.U008D);
      MT204.U0086.Elements.Add((SwiftDefinitionElement) MT204.U008B);
      MT204.U008E = new SwiftTagChoiceDefinition("Choice", "");
      MT204.U008E.Multiple = true;
      MT204.U008F = new SwiftTagDefinition("DebitInstitution_B_53A", "Debit Institution");
      MT204.U008F.TagName = ":53A:";
      MT204.U0090 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT204.U0090.Mandatory = false;
      MT204.U008F.Elements.Add((SwiftDefinitionElement) MT204.U0090);
      MT204.U0091 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT204.U008F.Elements.Add((SwiftDefinitionElement) MT204.U0091);
      MT204.U008E.Elements.Add((SwiftDefinitionElement) MT204.U008F);
      MT204.U0092 = new SwiftTagDefinition("DebitInstitution_B_53B", "Debit Institution");
      MT204.U0092.TagName = ":53B:";
      MT204.U0093 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT204.U0093.Mandatory = false;
      MT204.U0092.Elements.Add((SwiftDefinitionElement) MT204.U0093);
      MT204.U0094 = new SwiftTagSubItemDefinition("Location", "");
      MT204.U0094.Mandatory = false;
      MT204.U0092.Elements.Add((SwiftDefinitionElement) MT204.U0094);
      MT204.U008E.Elements.Add((SwiftDefinitionElement) MT204.U0092);
      MT204.U0095 = new SwiftTagDefinition("DebitInstitution_B_53D", "Debit Institution");
      MT204.U0095.TagName = ":53D:";
      MT204.U0096 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT204.U0096.Mandatory = false;
      MT204.U0095.Elements.Add((SwiftDefinitionElement) MT204.U0096);
      MT204.U0097 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT204.U0095.Elements.Add((SwiftDefinitionElement) MT204.U0097);
      MT204.U008E.Elements.Add((SwiftDefinitionElement) MT204.U0095);
      MT204.U0086.Elements.Add((SwiftDefinitionElement) MT204.U008E);
      MT204.U0098 = new SwiftTagDefinition("SenderToReceiverInformation_B_72", "Sender To Receiver Information");
      MT204.U0098.TagName = ":72:";
      MT204.U0098.Mandatory = false;
      MT204.U0099 = new SwiftTagSubItemDefinition("Line1", "Line with a maximum of 35 SWIFT characters having format as /8c/[25x]");
      MT204.U0098.Elements.Add((SwiftDefinitionElement) MT204.U0099);
      MT204.U009A = new SwiftTagSubItemDefinition("Line2", "Line with a maximum of 35 SWIFT characters having format as /8c/[25x] or [//33x]");
      MT204.U009A.Mandatory = false;
      MT204.U0098.Elements.Add((SwiftDefinitionElement) MT204.U009A);
      MT204.U009B = new SwiftTagSubItemDefinition("Line3", "Line with a maximum of 35 SWIFT characters having format as /8c/[25x] or [//33x]");
      MT204.U009B.Mandatory = false;
      MT204.U0098.Elements.Add((SwiftDefinitionElement) MT204.U009B);
      MT204.U009C = new SwiftTagSubItemDefinition("Line4", "Line with a maximum of 35 SWIFT characters having format as /8c/[25x] or [//33x]");
      MT204.U009C.Mandatory = false;
      MT204.U0098.Elements.Add((SwiftDefinitionElement) MT204.U009C);
      MT204.U009D = new SwiftTagSubItemDefinition("Line5", "Line with a maximum of 35 SWIFT characters having format as /8c/[25x] or [//33x]");
      MT204.U009D.Mandatory = false;
      MT204.U0098.Elements.Add((SwiftDefinitionElement) MT204.U009D);
      MT204.U009E = new SwiftTagSubItemDefinition("Line6", "Line with a maximum of 35 SWIFT characters having format as /8c/[25x] or [//33x]");
      MT204.U009E.Mandatory = false;
      MT204.U0098.Elements.Add((SwiftDefinitionElement) MT204.U009E);
      MT204.U0086.Elements.Add((SwiftDefinitionElement) MT204.U0098);
      MT204.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT204.U0086);
    }

    public class SequenceAClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT204.U0002;
        }
      }

      [Description("Transaction Reference Number")]
      public Tag20 TransactionReferenceNumber_A_20
      {
        get
        {
          return new Tag20((SwiftElement) this, 0, (SwiftDefinitionElement) MT204.U0003);
        }
      }

      [Description("Transaction Reference Number")]
      public Tag20 Tag20_TransactionReferenceNumber_A
      {
        get
        {
          return this.TransactionReferenceNumber_A_20;
        }
      }

      [Description("Sum of Amounts")]
      public Tag19 SumOfAmounts_A_19
      {
        get
        {
          return new Tag19((SwiftElement) this, 0, (SwiftDefinitionElement) MT204.U0005);
        }
      }

      [Description("Sum of Amounts")]
      public Tag19 Tag19_SumOfAmounts_A
      {
        get
        {
          return this.SumOfAmounts_A_19;
        }
      }

      [Description("Value Date")]
      public Tag30 ValueDate_A_30
      {
        get
        {
          return new Tag30((SwiftElement) this, 0, (SwiftDefinitionElement) MT204.U0007);
        }
      }

      [Description("Value Date")]
      public Tag30 Tag30_ValueDate_A
      {
        get
        {
          return this.ValueDate_A_30;
        }
      }

      [Description("Account With Institution")]
      public MT204.SequenceAClass.Tag57A AccountWithInstitution_A_57A
      {
        get
        {
          return new MT204.SequenceAClass.Tag57A((SwiftElement) this, 0, (SwiftDefinitionElement) MT204.U000F);
        }
      }

      [Description("Account With Institution")]
      public MT204.SequenceAClass.Tag57A Tag57A_AccountWithInstitution_A
      {
        get
        {
          return this.AccountWithInstitution_A_57A;
        }
      }

      [Description("Account With Institution")]
      public Tag57B AccountWithInstitution_A_57B
      {
        get
        {
          return new Tag57B((SwiftElement) this, 0, (SwiftDefinitionElement) MT204.U0012);
        }
      }

      [Description("Account With Institution")]
      public Tag57B Tag57B_AccountWithInstitution_A
      {
        get
        {
          return this.AccountWithInstitution_A_57B;
        }
      }

      [Description("Account With Institution")]
      public MT204.SequenceAClass.Tag57D AccountWithInstitution_A_57D
      {
        get
        {
          return new MT204.SequenceAClass.Tag57D((SwiftElement) this, 0, (SwiftDefinitionElement) MT204.U0015);
        }
      }

      [Description("Account With Institution")]
      public MT204.SequenceAClass.Tag57D Tag57D_AccountWithInstitution_A
      {
        get
        {
          return this.AccountWithInstitution_A_57D;
        }
      }

      [Description("Beneficiary Institution")]
      public Tag58A BeneficiaryInstitution_A_58A
      {
        get
        {
          return new Tag58A((SwiftElement) this, 0, (SwiftDefinitionElement) MT204.U0019);
        }
      }

      [Description("Beneficiary Institution")]
      public Tag58A Tag58A_BeneficiaryInstitution_A
      {
        get
        {
          return this.BeneficiaryInstitution_A_58A;
        }
      }

      [Description("Beneficiary Institution")]
      public Tag58D BeneficiaryInstitution_A_58D
      {
        get
        {
          return new Tag58D((SwiftElement) this, 0, (SwiftDefinitionElement) MT204.U001C);
        }
      }

      [Description("Beneficiary Institution")]
      public Tag58D Tag58D_BeneficiaryInstitution_A
      {
        get
        {
          return this.BeneficiaryInstitution_A_58D;
        }
      }

      [Description("Sender To Receiver Information")]
      public Tag72 SenderToReceiverInformation_A_72
      {
        get
        {
          return new Tag72((SwiftElement) this, 0, (SwiftDefinitionElement) MT204.U001F);
        }
      }

      [Description("Sender To Receiver Information")]
      public Tag72 Tag72_SenderToReceiverInformation_A
      {
        get
        {
          return this.SenderToReceiverInformation_A_72;
        }
      }

      internal SequenceAClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }

      public class Tag57A : SwiftTagWrapper
      {
        public string Value
        {
          get
          {
            return this.GetValue();
          }
          set
          {
            this.SetValue("57A", value);
          }
        }

        internal Tag57A(SwiftElement parent, int index, SwiftDefinitionElement definition)
          : base(parent, index, definition)
        {
        }
      }

      public class Tag57D : SwiftTagWrapper
      {
        public string Value
        {
          get
          {
            return this.GetValue();
          }
          set
          {
            this.SetValue("57D", value);
          }
        }

        internal Tag57D(SwiftElement parent, int index, SwiftDefinitionElement definition)
          : base(parent, index, definition)
        {
        }
      }
    }

    public class SequenceBClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT204.U0086;
        }
      }

      [Description("Transaction Reference Number")]
      public Tag20 TransactionReferenceNumber_B_20
      {
        get
        {
          return new Tag20((SwiftElement) this, 0, (SwiftDefinitionElement) MT204.U0087);
        }
      }

      [Description("Transaction Reference Number")]
      public Tag20 Tag20_TransactionReferenceNumber_B
      {
        get
        {
          return this.TransactionReferenceNumber_B_20;
        }
      }

      [Description("Related Reference")]
      public Tag21 RelatedReference_B_21
      {
        get
        {
          return new Tag21((SwiftElement) this, 0, (SwiftDefinitionElement) MT204.U0089);
        }
      }

      [Description("Related Reference")]
      public Tag21 Tag21_RelatedReference_B
      {
        get
        {
          return this.RelatedReference_B_21;
        }
      }

      [Description("Transaction Amount")]
      public Tag32B TransactionAmount_B_32B
      {
        get
        {
          return new Tag32B((SwiftElement) this, 0, (SwiftDefinitionElement) MT204.U008B);
        }
      }

      [Description("Transaction Amount")]
      public Tag32B Tag32B_TransactionAmount_B
      {
        get
        {
          return this.TransactionAmount_B_32B;
        }
      }

      [Description("Debit Institution")]
      public Tag53A DebitInstitution_B_53A
      {
        get
        {
          return new Tag53A((SwiftElement) this, 0, (SwiftDefinitionElement) MT204.U008F);
        }
      }

      [Description("Debit Institution")]
      public Tag53A Tag53A_DebitInstitution_B
      {
        get
        {
          return this.DebitInstitution_B_53A;
        }
      }

      [Description("Debit Institution")]
      public MT204.SequenceBClass.Tag53B DebitInstitution_B_53B
      {
        get
        {
          return new MT204.SequenceBClass.Tag53B((SwiftElement) this, 0, (SwiftDefinitionElement) MT204.U0092);
        }
      }

      [Description("Debit Institution")]
      public MT204.SequenceBClass.Tag53B Tag53B_DebitInstitution_B
      {
        get
        {
          return this.DebitInstitution_B_53B;
        }
      }

      [Description("Debit Institution")]
      public Tag53D DebitInstitution_B_53D
      {
        get
        {
          return new Tag53D((SwiftElement) this, 0, (SwiftDefinitionElement) MT204.U0095);
        }
      }

      [Description("Debit Institution")]
      public Tag53D Tag53D_DebitInstitution_B
      {
        get
        {
          return this.DebitInstitution_B_53D;
        }
      }

      [Description("Sender To Receiver Information")]
      public Tag72 SenderToReceiverInformation_B_72
      {
        get
        {
          return new Tag72((SwiftElement) this, 0, (SwiftDefinitionElement) MT204.U0098);
        }
      }

      [Description("Sender To Receiver Information")]
      public Tag72 Tag72_SenderToReceiverInformation_B
      {
        get
        {
          return this.SenderToReceiverInformation_B_72;
        }
      }

      internal SequenceBClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }

      public class Tag53B : SwiftTagWrapper
      {
        public string Value
        {
          get
          {
            return this.GetValue();
          }
          set
          {
            this.SetValue("53B", value);
          }
        }

        internal Tag53B(SwiftElement parent, int index, SwiftDefinitionElement definition)
          : base(parent, index, definition)
        {
        }
      }
    }
  }
}
